<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>微信测试</title>
</head>

<script>
    console.log(window.WeixinJSBridge);

    alert(window.WeixinJSBridge == null)
    
</script>

<body>



</body>

</html>